package com.longyb.mylive.server.jt1078;

import java.util.HashMap;
import java.util.Map;

/**
 * TODO
 *
 * @author chengxuwei
 * @date 2024-04-30
 * @since 1.0.0
 */
public class BenchLambdaConvert {



  static final Map<Integer,AddFun> calMap=new HashMap<>();
  static {
    calMap.put(1, (AddFun<Integer>) (a, b) -> a+b
    );
    calMap.put(1, (AddFun<Double>) (a, b) -> {
      return a+b;
    });
  }

  public static void main(String[] args) {

  }
}
